﻿// EXP0230.cpp :对于下面的这些语句，请说明对象被声明成了顶层const还是底层const？

//const int v2 = 0; int v1 = v2;
//int* p1 = &v1, & r1 = v1;
//const int* p2 = &v2, * const p3 = &i, & r2 = v2;

// const int v2 = 0        顶层const
//const int* p2 = &v2      底层const
//const int* const p3 = &i 顶层、底层const
//const int& r2 = v2       底层const

